<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <title>Test Case for Issue #2712</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>

<h1>Issue #2712</h1>

<p>This test-case is intended for <a href="http://code.google.com/p/fbug/issues/detail?id=2712">Issue #2712</a>
- <span class="h3">Gmail has network connections that report 200 Aborted</span>.
<br/>
<i>Jan Odvarko, odvarko@gmail.com</i>
</p>

<ol>
<li>Open Firebug and enable the Console panel.</li>
<li>Make sure <i>Show XMLHttpRequests</i> option is on.</li>
<li>Click on the <code style="color:green">Execute Test</code> button below.</li>
<li>Displaed XHR Request must not be marked as <b>Aborted</b> (i.e. not displayed in red).</li>
</ol>

<button id="testButton" onclick="onExecuteTest()">Execute Test</button>

<script type="text/javascript">
function onExecuteTest()
{
    var request = new XMLHttpRequest();
    request.open("GET", "issue2712.php", true);
    request.onreadystatechange = function()
    {
        if (request.readyState == 4 && request.status == 200)
        {
            request.abort();
        }
    }
    request.send(null);
}
</script>

</body>
</html>
